package com.cloud.api;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.cloud.api.req.OrderReq;
import com.cloud.common.client.anno.FeignClient;
@FeignClient(value = "cloud-order-server")
public interface OrderFeign {
	@PostMapping(value="save")
	public String save(OrderReq req);
	
	@GetMapping(value="load")
	public String load(@RequestParam("id")String orderId);
}
